import { Meta, ArgsTable, Canvas, Story, Markdown } from '@storybook/addon-docs';
import { XXL } from '@zendeskgarden/react-typography';
import { TypescaleStory } from './stories/TypescaleStory';
import README from '../README.md';

<Meta title="Packages/Typography/Typescale/XXL" component={XXL} />

# API

<ArgsTable />

# Demo

<Canvas>
  <Story
    name="XXL"
    args={{ children: 'Text' }}
    argTypes={{ tag: { control: 'text' } }}
    parameters={{
      design: {
        allowFullscreen: true,
        type: 'figma',
        url: 'https://www.figma.com/file/6g87L4FdKZTA3knt3Rsfdx/Garden?node-id=102%3A107'
      }
    }}
  >
    {args => <TypescaleStory {...args} size="2x-large" />}
  </Story>
</Canvas>

<Markdown>{README}</Markdown>
